<?php

use Cekurte\Form;

class Application_Form_UserLogin extends Form
{
	public function setup()
    {
        $username    		= new \Zend_Form_Element_Text('username', array(
            'label'     	=> 'form.default.user.login.usuario', 
            'class'     	=> 'input',
			
        	'required' 		=> true,
			
			'filters'       => array('StringTrim', 'StripTags'),
			
			'validators'    => array('NotEmpty')
        ));
        
        $password 			= new \Zend_Form_Element_Password('password', array(
            'label'     	=> 'form.default.user.login.senha', 
            'class'     	=> 'input',
			
			'required' 		=> true,
			
			'filters'       => array('StringTrim', 'StripTags'),
			
			'validators'    => array('NotEmpty')
        ));

        $this->addElements( array(
        	$username,
        	$password
        ));
    }
}

